package cn.lixin.product.service;

import cn.lixin.basic.service.IBaseService;
import cn.lixin.product.domain.Product;

import java.util.List;

public interface IProductService extends IBaseService<Product> {

    void onSale(List<Long> ids);

    void offSale(List<Long> ids);

    void save(Product product,Long id);

    Product queryById(Long id);

    void buy(Long productId, Long logininfoId);


}
